using System;

namespace Conusic
{
    /// <summary>
    /// Access token for authorization for vkontakte api
    /// </summary>
    public sealed class AccessToken
    {
        /// <summary>
        /// Saved token
        /// </summary>
        public string Token { get; set; }

        /// <summary>
        /// Expiration date of token
        /// </summary>
        public DateTime ExprirationDate { get; set; }


        /// <summary>
        /// Return token
        /// </summary>
        /// <returns>token</returns>
        public override string ToString()
        {
            return Token;
        }
    }
}
